#pragma once
#include <iostream>
#include <vector>
//任务声明与实现
typedef void(*task_t)();
void task1()
{
    std::cout<<"刷新蓝buff"<<std::endl;
}
void task2()
{
    std::cout<<"刷新红buff"<<std::endl;
}
void task3()
{
    std::cout<<"刷新地图"<<std::endl;
}
void task4()
{
    std::cout<<"刷新技能cd"<<std::endl;
}
void loadtask(std::vector<task_t>*tasks)//加载任务
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}